package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.sql.Types;
import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_flowercard_end", autoSave = true,uploadCk = true,desc = "花牌之恋-每局结束日志")
public class LogFlowerCardEnd extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "用户ID",isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "活动ID",isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "是否消耗花夹")
    private boolean useGoods;

    @FieldTypeAnnotation(desc = "轮次")
    private int round;

    @FieldTypeAnnotation(desc = "良缘值")
    private int score;

    @FieldTypeAnnotation(desc = "步数")
    private int stepNum;

    @FieldTypeAnnotation(desc = "评价")
    private int pingJia;

    @FieldTypeAnnotation(desc = "技能")
    private String skill;

    @FieldTypeAnnotation(desc = "结束类型：1：通关；2：花露不足；3：玩家主动退出")
    private int endType;

    @FieldTypeAnnotation(desc = "用时")
    private int useTime;

    @FieldTypeAnnotation(desc = "局数")
    private int gameTimes;

    @FieldTypeAnnotation(desc = "盘面数据", sqlType = Types.LONGVARCHAR)
    private String cardList;



    public LogFlowerCardEnd(long userId, int activityId, boolean useGoods, int round, int score, int stepNum, int pingJia, String skill, int endType, String cardList, int gameTimes, int useTime) {
        this.userId = userId;
        this.activityId = activityId;
        this.useGoods = useGoods;
        this.round = round;
        this.score = score;
        this.stepNum = stepNum;
        this.pingJia = pingJia;
        this.skill = skill;
        this.endType = endType;
        this.useTime = useTime;
        this.cardList = cardList;
        this.gameTimes = gameTimes;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public boolean isUseGoods() {
        return useGoods;
    }

    public void setUseGoods(boolean useGoods) {
        this.useGoods = useGoods;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public int getStepNum() {
        return stepNum;
    }

    public void setStepNum(int stepNum) {
        this.stepNum = stepNum;
    }

    public int getPingJia() {
        return pingJia;
    }

    public void setPingJia(int pingJia) {
        this.pingJia = pingJia;
    }

    public String getSkill() {
        return skill;
    }

    public void setSkill(String skill) {
        this.skill = skill;
    }

    public int getEndType() {
        return endType;
    }

    public void setEndType(int endType) {
        this.endType = endType;
    }

    public int getUseTime() {
        return useTime;
    }

    public void setUseTime(int useTime) {
        this.useTime = useTime;
    }

    public int getGameTimes() {
        return gameTimes;
    }

    public void setGameTimes(int gameTimes) {
        this.gameTimes = gameTimes;
    }

    public String getCardList() {
        return cardList;
    }

    public void setCardList(String cardList) {
        this.cardList = cardList;
    }

}
